#include <stdio.h>
int main(void)
{
	int sum, count;
	printf("Enret the number of day you work:");
	scanf_s("%d\n", &count);
	while (count > 0)
	{
		sum = count * count;
		printf("You earned $ %d total.\n", sum);
		count--;
	}
	return 0;
}